package com.hdi.extendsoverride;

import java.io.ObjectStreamException;

public class Test {

    public static void main(String[] args) {
        B b = new B();
        b.print2();
        Object obj = b.getObject();
        System.out.println(obj);

    }
}
